package cn.hesion.designpattern.Factory.AbstractFactory;

import cn.hesion.designpattern.Factory.INote;
import cn.hesion.designpattern.Factory.IVideo;

public class Client {
    public static void main(String[] args) {
        JavaCourceFactory javaCourceFactory = new JavaCourceFactory();
        INote node = javaCourceFactory.createNode();
        node.edit();
        IVideo iVideo = javaCourceFactory.recordVideo();
        iVideo.record();
    }
}
